package io.adrainty.bolee.insurance.models.valobj;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.adrainty.bolee.framework.commons.basic.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>UnderwritingStateEnum</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description UnderwritingStateEnum
 * @since 2025/8/26 11:08:38
 */

@Getter
@AllArgsConstructor
public enum UnderwritingStateEnum implements IEnum {

    //核保状态(0发送失败 1核保中 2核保失败 3核保成功 )
    SEND_FAILED("0", "发送失败"),
    UNDERWRITING_ING("1", "核保中"),
    UNDERWRITING_FAILED("2", "核保失败"),
    UNDERWRITING_SUCCESS("3", "核保成功"),
    ;

    @EnumValue
    private final String code;
    private final String desc;

}
